import request from '@/utils/request'

// 查询biz_本地订单列表
export function listLocalOrder(query) {
  return request({
    url: '/biz/localOrder/list',
    method: 'get',
    params: query
  })
}

// 查询biz_本地订单详细
export function getLocalOrder(id) {
  return request({
    url: '/biz/localOrder/' + id,
    method: 'get'
  })
}

// 新增biz_本地订单
export function addLocalOrder(data) {
  return request({
    url: '/biz/localOrder',
    method: 'post',
    data: data
  })
}

// 修改biz_本地订单
export function updateLocalOrder(data) {
  return request({
    url: '/biz/localOrder',
    method: 'put',
    data: data
  })
}

// 删除biz_本地订单
export function delLocalOrder(id) {
  return request({
    url: '/biz/localOrder/' + id,
    method: 'delete'
  })
}
